<?php
header ( "Content-type: text/html; charset=utf-8" );
defined ( 'MacTop' ) or exit ( 'Access Denied' );


date_default_timezone_set ( 'Asia/Shanghai' );


define ( 'DBHOST', 'localhost' );
define ( 'DBUSER', 'mactop' );
define ( 'DBPASSWORD', 'asdfgxfc123' );
define ( 'DBNAME', 'etonkids' );

define ( 'CentralDBHOST', 'localhost' );
define ( 'CentralDBUSER', 'mactop' );
define ( 'CentralDBPASSWORD', 'asdfgxfc123' );
define ( 'CentralDBNAME', 'central' );


define ( 'AZUREDBHOST', 'ddc1ueypgf.database.windows.net,1433' );
define ( 'AZUREDBUSER', 'mactop' );
define ( 'AZUREDBPASSWORD', 'Asdfgxfc123' );
define ( 'AZUREDBNAME', 'yunxiaoche_db' );


//$conn = new PDO ( "sqlsrv:server = tcp:g9bu8s4y6v.database.windows.net,1433; Database = mactoptest01_db-2013-2-6-18-50", "mysqltest01", "Asdfgxfc123$");
global $db;
global $centraldb;
global $azuredb;
?>
